package com.sw.study.springwork.service;

/**
 * Created by sw on 2020/4/6.
 * 账户接口
 */
public interface AccountService {
    /**
     * 转账方法
     * @param fromNo 转出账号
     * @param toNo 转入账号
     * @param money 金额
     */
    public void transfer(String fromNo,String toNo,int money) throws Exception;
}